package com.talent.pojo.vo;

import com.talent.pojo.entity.MenuContent;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 菜单树形结构VO
 */
@Data
public class MenuTreeVO {
    
    private Long id;
    private String name;
    private String description; // 菜单简介
    private String type; // MENU, SUBMENU, CONTENT
    private String homeImage;
    private Long parentId;
    private Integer sortOrder;
    private Integer status;
    private Boolean open;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private MenuContent contentDetails; // 内容详情
    private List<MenuTreeVO> children; // 子菜单
}
